﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="department_form.aspx.cs" Inherits="Xnjc_department_form" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head runat="server">
    <title>部门工作情况</title>
    
 <script language="Javascript">

     function mouseMove(trname) {
         return;
         var hidden3 = document.getElementById("hidden3");
         hidden3.value = trname.style.backgroundColor;
         trname.style.backgroundColor = '#caf7fd';
     }
     function mouseOut(trname) {
         return;
         var hidden3 = document.getElementById("hidden3");
         trname.style.backgroundColor = hidden3.value;
     }
    </script>

       <script language="javascript" src="../ScriptFile/popcalendar.js" type="text/javascript"></script>
   <script type="text/javascript" src="../ScriptFile/calendar.js"></script>

    <script type="text/javascript" src="../ScriptFile/lang/calendar-zh.js"></script>

    <script type="text/javascript" src="../ScriptFile/calendar-setup.js"></script>

    <link rel="stylesheet" type="text/css" media="all" href="../ScriptFile/skins/aqua/theme.css"
        title="win2k-cold-1" />

    <script type="text/javascript" src="../ScriptFile/common.js"></script>

    <link href="../css/page.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <form name="queryForm" action="department_assess.aspx" method="post" onsubmit="return(checkFormForDepartmentAssess())"
        target="right" >
        <input type="hidden" name="displayType" value="" />
        <table height="480px" cellspacing="0" cellpadding="0" align="center" border="0"   class="tab">
            <tr>
                <th>
                    办件类型
                </th>
            </tr>
            <tr height="100%">
                <td>
                    <select name="wname" id="wname" size="10" style='width: 100%; height: 100%; border: 0'
                        onclick="openDepartmentChooser()">
                        <%=strhtml         %>
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    部门名
                </th>
            </tr>
            <tr>
                <td>
                    <input type="hidden" name="orderID" id="orderID" value="<%=orderID%>" />
                    <input type="text" name="departName" value="<%=strDepartName%>" />
                </td>
            </tr>
            <tr>
                <th>
                    浏览方式
                </th>
            </tr>
            <tr>
                <td>
                    <input type="radio" name="orderBy" id="orderByStep" value="hist.step" <%=("hist.step".Equals(orderBy))?"checked":""%> /><label
                        for="orderByStep">按岗位</label>
                    <input type="radio" name="orderBy" id="orderByUser" value="hist.userid" <%=("hist.userid".Equals(orderBy))?"checked":""%> /><label
                        for="orderByUser">按人员</label>
                </td>
            </tr>
            <tr>
                <th>
                    案件接收时间
                </th>
            </tr>
            <tr>
                <td>
                    <input type="text" name="timeFromOfAccept" value="<%=timeFromOfAccept%>" /><img src="../images/alarm.png"
                        id="fromImg" />
                    <input type="text" name="timeToOfAccept" value="<%=timeToOfAccept%>" /><img src="../images/alarm.png"
                        id="toImg" />
                       
                </td>
            </tr>
            <tr>
                <td>
                    <input name="Submit3" type="submit" class="NewButton" value="提交" />
                    <input name="Submit3" type="reset" class="NewButton" value="重置" />
                </td>
            </tr>
        </table>
    </form>

    <script src="../ScriptFile/common.js"></script>

    <script type="text/javascript">
    
        onloadFunction();
function setWorkflow(wname){
	document.getElementById("wname").value = wname;
	return true;
}
function setStep(wname,step){
  document.getElementById("wname").value = wname;
  document.getElementById("stepName").value = step;
  return true;
}
function setDepartment(orderID,departName){
	document.getElementById("orderID").value = orderID;
	document.getElementById("departName").value = departName;
}
    </script>

</body>
</html>
